package com.kayt.cyberBar.cuser.business.entity.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * BWorkRequestRes entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "b_work_request_res")
public class BWorkRequestRes implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -8358377619647140177L;
	private Long id;
	private String requestCode;
	private String requestResCode;
	private String pictureUrl;
	private String leaveType;
	private String leaveStartTime;
	private String leaveEndTime;
	private String reqDescription;
	private String defrayType;
	private String defraySum;
	private String defrayDate;
	private String createTime;
	private String updateTime;
	private String statusCode;

	// Constructors

	/** default constructor */
	public BWorkRequestRes() {
	}

	/** full constructor */
	public BWorkRequestRes(String requestCode, String requestResCode,
			String pictureUrl, String leaveType, String leaveStartTime,
			String leaveEndTime, String reqDescription, String defrayType,
			String defraySum, String defrayDate, String createTime,
			String updateTime, String statusCode) {
		this.requestCode = requestCode;
		this.requestResCode = requestResCode;
		this.pictureUrl = pictureUrl;
		this.leaveType = leaveType;
		this.leaveStartTime = leaveStartTime;
		this.leaveEndTime = leaveEndTime;
		this.reqDescription = reqDescription;
		this.defrayType = defrayType;
		this.defraySum = defraySum;
		this.defrayDate = defrayDate;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.statusCode = statusCode;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "ID", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "REQUEST_CODE", length = 64)
	public String getRequestCode() {
		return this.requestCode;
	}

	public void setRequestCode(String requestCode) {
		this.requestCode = requestCode;
	}

	@Column(name = "REQUEST_RES_CODE", length = 64)
	public String getRequestResCode() {
		return this.requestResCode;
	}

	public void setRequestResCode(String requestResCode) {
		this.requestResCode = requestResCode;
	}

	@Column(name = "PICTURE_URL", length = 1024)
	public String getPictureUrl() {
		return this.pictureUrl;
	}

	public void setPictureUrl(String pictureUrl) {
		this.pictureUrl = pictureUrl;
	}

	@Column(name = "LEAVE_TYPE", length = 64)
	public String getLeaveType() {
		return this.leaveType;
	}

	public void setLeaveType(String leaveType) {
		this.leaveType = leaveType;
	}

	@Column(name = "LEAVE_START_TIME", length = 64)
	public String getLeaveStartTime() {
		return this.leaveStartTime;
	}

	public void setLeaveStartTime(String leaveStartTime) {
		this.leaveStartTime = leaveStartTime;
	}

	@Column(name = "LEAVE_END_TIME", length = 64)
	public String getLeaveEndTime() {
		return this.leaveEndTime;
	}

	public void setLeaveEndTime(String leaveEndTime) {
		this.leaveEndTime = leaveEndTime;
	}

	@Column(name = "REQ_DESCRIPTION", length = 64)
	public String getReqDescription() {
		return this.reqDescription;
	}

	public void setReqDescription(String reqDescription) {
		this.reqDescription = reqDescription;
	}

	@Column(name = "DEFRAY_TYPE", length = 64)
	public String getDefrayType() {
		return this.defrayType;
	}

	public void setDefrayType(String defrayType) {
		this.defrayType = defrayType;
	}

	@Column(name = "DEFRAY_SUM", length = 64)
	public String getDefraySum() {
		return this.defraySum;
	}

	public void setDefraySum(String defraySum) {
		this.defraySum = defraySum;
	}

	@Column(name = "DEFRAY_DATE", length = 64)
	public String getDefrayDate() {
		return this.defrayDate;
	}

	public void setDefrayDate(String defrayDate) {
		this.defrayDate = defrayDate;
	}

	@Column(name = "CREATE_TIME", length = 64)
	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	@Column(name = "UPDATE_TIME", length = 64)
	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "STATUS_CODE", length = 64)
	public String getStatusCode() {
		return this.statusCode;
	}

	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}

}